//
//@File    :	10.3_usestock0.cpp
//@Time    :	2021/08/26 21:33:12
//@Auther  :	Sun Sheng
//@Contact :	970340843@qq.com
//@Desc    :	the client program 
//
//complie with stock00.cpp

#include <iostream>
#include "10.1_stock00.h"

int main()
{
    Stock fluffy_the_cat;
    fluffy_the_cat.acquire("NanoSmart0",20,12.50);
    fluffy_the_cat.show();
    fluffy_the_cat.buy(15,18.125);
    fluffy_the_cat.show();
    fluffy_the_cat.sell(400,20.00);
    fluffy_the_cat.show();
    fluffy_the_cat.buy(300000,40.125);
    fluffy_the_cat.show();
    fluffy_the_cat.sell(300000,0.125);
    fluffy_the_cat.show();
    system("pause");
    return 0;
}